PHY DETACH CLOTH FROM SHAPE

Detaches a cloth from the specified shape ( rigid body ) it is attached to.

  Syntax
PHY DETACH CLOTH FROM SHAPE ID, object
  Parameters
ID
Integer
identification number of the cloth
object
Integer
object identification number the cloth is to be detached from

  Returns

  Description

When a cloth is detached from a shape it will be released and free to fall down to the ground. A cloth object can be reattached to an object at a later stage using phy attach cloth to shape or phy attach cloth to all shapes.

  Example Code
No example code is provided for this command